<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <th:block th:include="include :: header('你有我需-我有')"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link th:href="@{/res/detailError/lib/weui.min.css}" rel="stylesheet"/>
    <link th:href="@{/res/detailError/css/jquery-weui.css}" rel="stylesheet"/>
    <link th:href="@{/res/detailError/css/common.css}" rel="stylesheet"/>
</head>
<body class="bgline3">
<div class="weui-cells mt0">
    <div class="weui-cell__hd"></div>
    <div class="weui-cell__bd"></div>
    <div class="weui-cell__ft"></div>
</div>

<div class="weui-cells mt0">
    <div th:each="iHaveList : ${iHaveList}">
        <a class="weui-cell weui-cell_access ft14" th:onclick="nywxDetail([[${iHaveList.tjid}]])">
            <div class="weui-cell__hd"><img th:src="@{/res/detailError/img/1.png}" class="wt20 ht20"></div>
            <div class="weui-cell__bd"><p th:text="${iHaveList.nywxbt}"></p></div>
            <div class="weui-cell__ft"><p th:text="${#dates.format(iHaveList.tjsj,'yyyy-MM-dd HH:mm')}"></p></div>
        </a>
    </div>
</div>

<a onclick="toApp()" class="fixed" style="left: 10px; bottom: 10px">
    <img th:src="@{/res/detailError/img/plusIcon.png}" class="wt30 ht30">
</a>
<script>
    function toApp() {
        //跳转小程序 登录
        alert("功能模块开发中，敬请期待~")
    }

    function nywxDetail(id) {
        location.href = "https://www.zhesq.com/control/nywx/mobileDetail/" + id;
    }
</script>
</body>
</html>
